.PHONY:all
all:myproc mytest

myproc:myproc.c
	gcc -o $@ $^
mytest:mytest.cpp
	g++ -o $@ $^ -std=c++11 
.PHONY:clean
clean:
	rm myproc mytest -f